# helm install keda kedacore/keda --namespace keda --create-namespace

export namespace="keda-system"
export app_name="keda"
export repo="kedacore"
export helm="$repo/keda"
export url="https://kedacore.github.io/charts"
export registry="ghcr.io"
# helm repo remove $repo
helm repo add $repo $url
helm repo update $repo

helm upgrade --create-namespace --install \
  -n $namespace $app_name $helm \
  --set global.image.registry=$registry \
  --devel
